home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / graphics / tiff / CHANGES-v2.4 < prev    next >
Text File  |  1991-11-25  |  8KB  |  141 lines

  1. $Header: /usr/people/sam/tiff/RCS/CHANGES-v2.4,v 1.6 91/11/26 10:48:22 sam Exp $
  2.  
  3. TIFF Software "Release" 2.4
  4. ---------------------------
  5. Changes in libtiff:
  6.  
  7. Version 2.4.2 release:
  8.     o The Group 4 encoding routine has been corrected to write an EOFB
  9.       at the end of each strip; previously it wrote it only at the end
  10.       of the last strip.
  11.     o A new routine, TIFFTileRowSize has been added; it returns the
  12.       number of bytes in each of row a tile.
  13.     o The error+warning handler support has been changed so that clients
  14.       can substitute handler routines at runtime with the new
  15.       TIFFSetErrorHandler routine.  This was necessary for certain
  16.       shared library implementations.
  17.     o The picio and sgi compression schemes have been removed.
  18.     o Some ANSI C and portability problems have been fixed.
  19.     o A portability problem with tif_dir.c on Sun 4 machines was fixed.
  20.     o LZW and fax compression routines were fixed to handle tiles correctly.
  21.     o The calculation of tile size for images with only one tile was corrected.
  22.     o IBM RS/6000/AIX portability "problems" were corrected.
  23.     o An incorrect function prototype in tiffio.h was corrected.
  24.     o A Makefile.aix was added.
  25.  
  26. Version 2.4.1 release:
  27.     o The internals of the TIFF data structure are no longer public;
  28.       this forced the addition of several query functions (thanks
  29.       to JT Conklin).
  30.     o The structure members tif_*encode* were renamed to improve the
  31.       understability of the code (or so I think).
  32.     o The encoding and decoding methods are now split out into separate
  33.       row, strip, and tile entry points.  This was necessary so that
  34.       compression algorithms that use the data organization can work
  35.       properly/effectively.
  36.     o The encoding and decoding methods now get passed the sample
  37.       being encoded/decoded.  This value only makes sense when the
  38.       image has PlanarConfiguration=2 (packed/interleaved data).  This
  39.       is needed by JPEG.
  40. !   o The ImageWidth and ImageLength tags are now ``treated'' as u_long
  41. !     values.  In particular, td_imagewidth & td_imagelength are now
  42. !     u_long and the get & set interfaces now assume u_long values.
  43. !     NOTE THAT THIS IS AN INCOMPATIBLE CHANGE FROM v2.3 OF THE LIBRARY
  44. !     AND REQUIRES CHANGES TO APPLICATIONS THAT USE THE LIBRARY.
  45. !   o The interface to TIFFPrintDirectory has been changed to take
  46. !     a bitset of flags that control the print of the large data
  47. !     structures (e.g. the colormap).  NOTE THAT THIS IS AN INCOMPATIBLE
  48. !     CHANGE FROM v2.3 OF THE LIBRARY ...
  49.     o The library should work on Macintosh systems (although this may
  50.       have been broken by my most recent changes).
  51.     o All the supported compression algorithms are now conditionally
  52.       compiled into the library.  This means that when you build the
  53.       library, you only get the code that you request.
  54.     o There was a bug where a directory tag w/ one SHORT inline value
  55.       was not correctly processed.
  56.     o All usage of the C-preprocessor to generate tokens through string
  57.       concatentation has been eliminated.
  58.     o The null compression logic now correctly handles more than a
  59.       single scanline of data.
  60.     o Support has been added for 2 features that are supposed to be
  61.       part of TIFF version 6.0:
  62.     tiled images    TileWidth, TileLength, TileByteOffsets, and
  63.             TileByteCounts tags
  64.     cmyk images    a PhotometricInterpretation definition and
  65.             a new InkSet tag
  66.       New library interfaces are provided for reading and writing tiles.
  67.       Note that tiled images can NOT be read as strips and vice versa.
  68.     o Basic functionality has been added in preparation for JPEG
  69.       compression support:
  70.     YCbCr photometric definition
  71.     C-Cube JPEG tags (still may change)
  72.         hooks to a stubbed out set of JPEG compression routines
  73.       Support for JPEG-related tags is conditionally compiled into the
  74.       library under the JPEG_SUPPORT define.
  75.     o It is now possible to supply an I/O buffer for the library to
  76.       use when reading+writing strips+tiles.  This can be combined with a
  77.       change to the null decompression routine to avoid memory-to-memory
  78.       copies.
  79.     o Support is provided for 3D volumes of data through the TileDepth
  80.       and ImageDepth tags (registered to SGI).  Note that the only
  81.       way to read volumetric data is through the tile-based interface
  82.       routines.
  83.     o A new DataType tag, registered to SGI, specifies whether data
  84.       is untyped, signed integer data, unsigned integer data, or
  85.       IEEE floating point data.  The BitsPerSample tag must be
  86.       consulted to determine the width of the data.
  87.     o The Group 3 and Group 4 facsimile decoding routines have been
  88.       rewritten to be faster and possibly more understandable.  Optional
  89.       uncompressed data in G3-2D and G4 is now handled (though not
  90.       generated).
  91.     o The Group 3 encoding and decoding routines have been corrected
  92.       so that an EOL code is now expected at the front of a line, instead
  93.       of at the end.  When processing files written by older versions of
  94.       this library, this can result in an off-by-one inconsistency
  95.       between the value of the ImageWidth tag and the actual number of
  96.       rows of data in an image.  This should not be a fatal error;
  97.       although it will result in spurious "Premature EOF" messages.
  98.     o An obscure bug in the packbits decoding logic was fixed.
  99.  
  100. Changes in the tools:
  101.  
  102. Version 2.4.2 release:
  103.     o gif2tiff now generates 16-bit colormaps instead of 8-bit.
  104.     o sgigt.c now handles 1-, 2-, and 4-bit palette images.
  105.     o New -l and -m options were added to sgigt.c to force the
  106.       FillOrder tag to be LSB2MSB and MSB2LSB, respectively.
  107.     o A -ignore flag was added to tiffcp to ignore read errors
  108.       when copying data.
  109.     o A Makefile.aix was added.
  110.     o Some cruft (e.g. hist.c, fixit.c) has been removed.
  111.  
  112. Version 2.4.1 release:
  113.     o the contributed tools have been reorganzed in a separate
  114.       "contrib" subtree.
  115.     o tiff2ps has been virtually rewritten by Dan Sears and is now
  116.       useful for printing B&W and color TIFF images on PostScript
  117.       printers (although colorimage is required for color images).
  118.     o sgigt.c now ignores read errors so that images w/ a recoverable
  119.       error are now displayed more completely.  Error diagnostics
  120.       have been made consistent. Images are read by strips or
  121.       tiles, rather than the previous scanline.  An RGB window
  122.       will be used if the hardware supports it and the image warrants it.
  123.     o fax2tiff now properly sets the XResolution tag.
  124.     o A bug in ras2tiff's handling of the colormap has been fixed.
  125.     o tiffcp has new options to set the FillOrder tag.
  126.     o tiffdither has new options for generating 2D Group 3 and
  127.       Group 4 compressed images.
  128.     o tiffdump understands the new tags added to libtiff.
  129.     o tiffinfo has been updated to use the new interface to
  130.       TIFFPrintDirectory.
  131.     o a new tool sgi2tiff converts an SGI image file to TIFF; it
  132.       requires the SGI -limage library and so is probably useful
  133.       only on SGI equipment
  134.     o a new tool gif2tiff converts a GIF87 format file to TIFF;
  135.       this tool is based on Paul Haeberli's fromgif program
  136.     o sgisv.c has been updated to use the documented interface
  137.       for reading pixels from the display
  138.     o Dan Sears has provided an updated version of contrib/dbs/xtiff
  139.     o contrib.xtiff has been removed since it's out of date and most
  140.       of its functionality has been subsumed contrib/dbs/xtiff.
  141.